package com.example.proxy.cglib;

/**
 * <p> JDK 动态代理 </p>
 *
 * @author Chris
 * @since 2022/11/29 10:07
 */
public class UserServiceImpl {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void sayHello() {
        System.out.println(this.name + ", Hello");
    }

    void haha() {
        System.out.println("haha");
    }

}